//=====
//
// 功能设置
//
//=====

$enable-rounded: true !default;
$enable-shadows: false !default;
$enable-transitions: true !default;
$enable-grid-feature: true !default;
$enable-gradients: true !default;
$enable-caret: true !default;

//======
//
// Color system
//
//======
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #6c757d !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;

$grays: () !default;
$grays: map-merge((
  "100": $gray-100,
  "200": $gray-200,
  "300": $gray-300,
  "400": $gray-400,
  "500": $gray-500,
  "600": $gray-600,
  "700": $gray-700,
  "800": $gray-800,
  "900": $gray-900
), $grays);

$blue: #007bff !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #dc3545 !default;
$orange: #fd7e14 !default;
$yellow: #ffc107 !default;
$green: #28a745 !default;
$teal: #20c997 !default;
$cyan: #17a2b8 !default;

$colors: () !default;
$colors: map-merge((
  "blue": $blue,
  "indigo": $indigo,
  "purple": $purple,
  "pink": $pink,
  "red": $red,
  "orange": $orange,
  "yellow": $yellow,
  "green": $green,
  "teal": $teal,
  "cyan": $cyan,
  "white": $white,
  "gray": $gray-600,
  "gray-dark": $gray-800
), $colors);

$primary: $blue !default;
$secondary: $gray-600 !default;
$success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-800 !default;

$theme-colors: () !default;
$theme-colors: map-merge((
  "primary": $primary,
  "secondary": $secondary,
  "success": $success,
  "info": $info,
  "warning": $warning,
  "danger": $danger,
  "light": $light,
  "dark": $dark
), $theme-colors);

$body-bg: $white !default;
$body-color: $gray-900 !default;

//yiq 亮度的界限
$yiq-contrasted-threshold: 150 !default;
//yiq 文字颜色
$yiq-text-dark: $gray-900 !default;
$yiq-text-light: $white !default;
//======
//
// 参数设置
//
//======

//空格
$spacer: 1rem !default;
$spacers: () !default;
$spacers: map-merge((
  0: 0,
  1: ($spacer * .25),
  2: ($spacer * .5),
  3: $spacer,
  4: ($spacer * 1.5),
  5: ($spacer * 3)
), $spacers);

//大小
// This variable affects the `.h-*` and `.w-*` classes.
$sizes: () !default;
$sizes: map-merge((
  25: 25%,
  50: 50%,
  75: 75%,
  100: 100%,
  auto: auto
), $sizes);

//shadow
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;

//======
//
// custom type
//
//======

//字体size
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
$font-size-lg: ($font-size-base * 1.25) !default;
$font-size-sm: ($font-size-base * .875) !default;

$small-font-size: 80% !default;

$h1-font-size: $font-size-base * 2.5 !default;
$h2-font-size: $font-size-base * 2 !default;
$h3-font-size: $font-size-base * 1.75 !default;
$h4-font-size: $font-size-base * 1.5 !default;
$h5-font-size: $font-size-base * 1.25 !default;
$h6-font-size: $font-size-base !default;



//字体weight
$font-weight-light: 300 !default;
$font-weight-normal: 400 !default;
$font-weight-bold: 700 !default;
$font-weight-base: $font-weight-normal !default;

//行高
$line-height-base: 1.5 !default;
$line-height-lg: 1.5 !default;
$line-height-sm: 1.5 !default;

//heading
$headings-margin-bottom: ($spacer / 2) !default;
$headings-font-family: inherit !default;
$headings-font-weight: 500 !default;
$headings-line-height: 1.2 !default;
$headings-color: inherit !default;

//display
$display1-size: 6rem !default;
$display2-size: 5.5rem !default;
$display3-size: 4.5rem !default;
$display4-size: 3.5rem !default;

$display1-weight: 300 !default;
$display2-weight: 300 !default;
$display3-weight: 300 !default;
$display4-weight: 300 !default;
$display-line-height: $headings-line-height !default;

//lead
$lead-font-size: ($font-size-base * 1.25) !default;
$lead-font-weight: 300 !default;

//block
$blockquote-small-color: $gray-600 !default;
$blockquote-font-size: ($font-size-base * 1.25) !default;

//list
$list-inline-padding: .5rem !default;

//======
//
// 字体相关
//
//======

$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
$font-family-base: $font-family-sans-serif !default;

//字体颜色
$text-muted: $gray-600 !default;

//=====
//
// map & list 参数
//
//=====

//栅格map
$grid-breakpoints: (
  xs: 0,
  sm: 576px,
  md: 768px,
  lg: 992px,
  xl: 1200px
) !default;
@include assert-ascending($grid-breakpoints, '$grid-breakpoints');

//容器最大宽度
$container-max-widths: (
  sm: 540px,
  md: 720px,
  lg: 960px,
  xl: 1140px
) !default;
@include assert-ascending($container-max-widths, '$container-max-widths');

// z-index
$zindex-dropdown: 1000 !default;
$zindex-sticky: 1020 !default;
$zindex-fixed: 1030 !default;
$zindex-modal-backdrop: 1040 !default;
$zindex-modal: 1050 !default;
$zindex-popover: 1060 !default;
$zindex-tooltip: 1070 !default;

// theme颜色级别的增减单位
$theme-color-interval: 8% !default;

//=====
//
//  元素的基本参数设置
//
//=====

// Paragraphs
//
// Style p element.
$paragraph-margin-bottom: 1rem !default;

//padding & line-height
$el-padding-y: .375rem !default;
$el-padding-x: .75rem !default;

$el-padding-y-sm: .25rem !default;
$el-padding-x-sm: .5rem !default;

$el-padding-y-lg: .5rem !default;
$el-padding-x-lg: 1rem !default;

//line-height
$el-line-height: $line-height-base !default;
$el-line-height-sm: $line-height-sm !default;
$el-line-height-lg: $line-height-lg !default;

//border
$el-border-width: 1px !default;
$el-border-color: $gray-300 !default;

$el-border-radius: .25rem !default;
$el-border-radius-lg: .3rem !default;
$el-border-radius-sm: .2rem !default;

//shadow
$el-box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
$el-box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
$el-box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;

//focus
$el-focus-width: .2rem !default;
$el-focus-bg: theme-color("primary") !default;
$el-focus-color: rgba($el-focus-bg, .25) !default;
$el-focus-box-shadow: 0 0 0 $el-focus-width $el-focus-color !default;

//active
$el-active-width: .2rem !default;
$el-active-color: $white !default;
$el-active-bg: theme-color("primary") !default;
$el-active-box-shadow: 0 0 0 $el-active-width $el-active-color !default;

//======
//
//   grid
//
//======
$grid-container-padding: 15px;
$grid-row-gutter: 15px;
$grid-col-gutter: 20px;
$grid-columns: 12;
$grid-gutter-width: 30px !default;

//======
//
//   dt
//
//======
$dt-font-weight: $font-weight-bold !default;

//======
//
//   Links
//   Style anchor elements.
//
//======
$link-color: theme-color("primary") !default;
$link-decoration: none !default;
$link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: underline !default;

//=====
//
//  alert
//
//=====
$alert-padding-y: .75rem !default;
$alert-padding-x: 1.25rem !default;
$alert-margin-bottom: 1rem !default;
$alert-border-radius: $el-border-radius !default;
$alert-link-font-weight: $font-weight-bold !default;
$alert-border-width: $el-border-width !default;

$alert-bg-level: -10 !default;
$alert-border-level: -5 !default;
$alert-color-level: 6 !default;

//=====
//
//  badge
//
//=====
$badge-font-size: 75% !default;
$badge-font-weight: $font-weight-bold !default;
$badge-padding-y: .25em !default;
$badge-padding-x: .4em !default;
$badge-border-radius: $el-border-radius !default;

$badge-pill-padding-x: .6em !default;
// Use a higher than normal value to ensure completely rounded edges when
// customizing padding or font-size on labels.
$badge-pill-border-radius: 10rem !default;

//=====
//
//  breadcrumb
//
//=====
$breadcrumb-font-size: 1.5rem;
$breadcrumb-font-size-lg: 2.2rem;
$breadcrumb-font-size-sm: 1rem;

$breadcrumb-padding-y: .75rem !default;
$breadcrumb-padding-x: 1rem !default;
$breadcrumb-item-padding: .5rem !default;

$breadcrumb-margin-bottom: 1rem !default;

$breadcrumb-bg: $gray-200 !default;
$breadcrumb-divider-color: $gray-600 !default;
$breadcrumb-active-color: $gray-600 !default;
$breadcrumb-divider: quote("/") !default;

$breadcrumb-border-radius: $el-border-radius !default;

//=====
//
//  button
//
//=====

//padding
$btn-padding-y: $el-padding-y !default;
$btn-padding-x: $el-padding-x !default;

$btn-padding-y-sm: $el-padding-y-sm !default;
$btn-padding-x-sm: $el-padding-x-sm !default;

$btn-padding-y-lg: $el-padding-y-lg !default;
$btn-padding-x-lg: $el-padding-x-lg !default;

// block btn 的margin-top
$btn-block-spacing-y: .5rem !default;

//line-height
$btn-line-height: $el-line-height !default;
$btn-line-height-sm: $el-line-height-sm !default;
$btn-line-height-lg: $el-line-height-lg !default;

//border
$btn-border-width: $el-border-width;
$btn-border-radius: $el-border-radius !default;
$btn-border-radius-lg: $el-border-radius-lg !default;
$btn-border-radius-sm: $el-border-radius-sm !default;

//font
$btn-font-weight: $font-weight-normal !default;

//color
$btn-link-disabled-color: $gray-600 !default;
$btn-disabled-opacity: .65 !default;
$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
$btn-disabled-color: $gray-300;
$btn-disabled-bg: $gray-300;
$btn-disabled-bcolor: $gray-200;

$outbtn-disabled-color: $gray-500;
$outbtn-disabled-bg: $gray-300;
$outbtn-disabled-bcolor: $gray-400;
//shadow
$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
$btn-focus-box-shadow: $el-focus-box-shadow !default;
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;

//======
//
//  caret
//
//======
$caret-width: .3em !default;

//======
//
//  close
//
//======
$close-font-size: $font-size-base * 1.5 !default;
$close-font-weight: $font-weight-bold !default;
$close-color: $black !default;
$close-text-shadow: 0 1px 0 $white !default;


//======
//
// Carousel
//
//======
$carousel-control-color:            $white !default;
$carousel-control-width:            15% !default;
$carousel-control-opacity:          .5 !default;

$carousel-indicator-width:          30px !default;
$carousel-indicator-height:         3px !default;
$carousel-indicator-spacer:         3px !default;
$carousel-indicator-active-bg:      $white !default;

$carousel-caption-width:            70% !default;
$carousel-caption-color:            $white !default;

$carousel-control-icon-width:       20px !default;

$carousel-control-prev-icon-bg:     str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default;
$carousel-control-next-icon-bg:     str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;

$carousel-transition:               transform .6s ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)

//======
//
//  transition
//
//======
$transition-base:             all .2s ease-in-out !default;
$transition-fade:             opacity .15s linear !default;
$transition-collapse:         height .35s ease !default;

//======
//
// Code
//
//======
$code-font-size: 87.5% !default;
$code-color: $pink !default;

$kbd-padding-y: .2rem !default;
$kbd-padding-x: .4rem !default;
$kbd-font-size: $code-font-size !default;
$kbd-color: $white !default;
$kbd-bg: $gray-900 !default;
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;

$pre-color: $gray-900 !default;
$pre-scrollable-max-height: 340px !default;
$nested-kbd-font-weight: $font-weight-bold !default;
//======
//
//  divider
//
//======
$nav-divider-color: $gray-200 !default;
$nav-divider-margin-y: ($spacer / 2) !default;

//======
//
//  card
//
//======
$card-spacer-y: .75rem !default;
$card-spacer-x: 1.25rem !default;
$card-border-width: $el-border-width !default;
$card-border-radius: $el-border-radius !default;
$card-border-color: rgba($black, .125) !default;
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
$card-cap-bg: rgba($black, .03) !default;
$card-bg: $white !default;

$card-img-overlay-padding: 1.25rem !default;

$card-group-margin: ($grid-gutter-width / 2) !default;
$card-deck-margin: $card-group-margin !default;

$card-columns-count: 3 !default;
$card-columns-gap: 1.25rem !default;
$card-columns-margin: $card-spacer-y !default;

//======
//
//  Dropdowns
//
//======
$dropdown-min-width: 10rem !default;
$dropdown-padding-y: .5rem !default;
$dropdown-spacer: .125rem !default;
$dropdown-bg: $white !default;
$dropdown-border-color: rgba($black, .15) !default;
$dropdown-border-radius: $el-border-radius !default;
$dropdown-border-width: $el-border-width !default;
$dropdown-divider-bg: $gray-200 !default;
$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;

$dropdown-link-color: $gray-900 !default;
$dropdown-link-hover-color: darken($gray-900, 5%) !default;
$dropdown-link-hover-bg: $gray-100 !default;

$dropdown-link-active-color: $el-active-color !default;
$dropdown-link-active-bg: $el-active-bg !default;

$dropdown-link-disabled-color: $gray-600 !default;

$dropdown-item-padding-y: .25rem !default;
$dropdown-item-padding-x: 1.5rem !default;

$dropdown-header-color: $gray-600 !default;

$dropdown-zindex: $zindex-dropdown;

//======
//
// List group
//
//======

$list-group-bg: $white !default;
$list-group-border-color: rgba($black, .125) !default;
$list-group-border-width: $el-border-width !default;
$list-group-border-radius: $el-border-radius !default;

$list-group-item-padding-y: .75rem !default;
$list-group-item-padding-x: 1.25rem !default;

$list-group-hover-bg: $gray-100 !default;
$list-group-active-color: $el-active-color !default;
$list-group-active-bg: $el-active-bg !default;
$list-group-active-border-color: $list-group-active-bg !default;

$list-group-disabled-color: $gray-600 !default;
$list-group-disabled-bg: $list-group-bg !default;

$list-group-action-active-color: $body-color !default;
$list-group-action-active-bg: $gray-200 !default;

//======
//
//  form
//
//======
$label-margin-bottom: .5rem !default;

$input-padding-y: $el-padding-y !default;
$input-padding-x: $el-padding-x !default;
$input-line-height: $el-line-height !default;

$input-padding-y-sm: $el-padding-y-sm !default;
$input-padding-x-sm: $el-padding-x-sm !default;
$input-line-height-sm: $el-line-height-sm !default;

$input-padding-y-lg: $el-padding-y-lg !default;
$input-padding-x-lg: $el-padding-x-lg !default;
$input-line-height-lg: $el-line-height-lg !default;

$input-bg: $white !default;
$input-disabled-bg: $gray-200 !default;

$input-color: $gray-700 !default;
$input-border-color: $gray-400 !default;
$input-border-width: $el-border-width !default;
$input-box-shadow: inset 0 1px 1px rgba($black, .075) !default;

$input-border-radius: $el-border-radius !default;
$input-border-radius-lg: $el-border-radius-lg !default;
$input-border-radius-sm: $el-border-radius-sm !default;

$input-focus-bg: $input-bg !default;
$input-focus-border-color: lighten($el-active-bg, 25%) !default;
$input-focus-color: $input-color !default;
$input-focus-width: $el-focus-width !default;
$input-focus-box-shadow: $el-focus-box-shadow !default;

$input-placeholder-color: $gray-600 !default;
$input-plaintext-color: $body-color !default;

$input-height-border: $input-border-width * 2 !default;

$input-height-inner: ($font-size-base * $el-line-height) + ($el-padding-y * 2) !default;
$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;

$input-height-inner-sm: ($font-size-sm * $el-line-height-sm) + ($el-padding-y-sm * 2) !default;
$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
$input-height-inner-lg: ($font-size-lg * $el-line-height-lg) + ($el-padding-y-lg * 2) !default;
$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;

$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;

$form-text-margin-top: .25rem !default;

$form-check-input-gutter: 1.25rem !default;
$form-check-input-margin-y: .3rem !default;
$form-check-input-margin-x: .25rem !default;

$form-check-inline-margin-x: .75rem !default;
$form-check-inline-input-margin-x: .3125rem !default;

$form-group-margin-bottom: 1rem !default;

// Form validation
$form-feedback-margin-top: $form-text-margin-top !default;
$form-feedback-font-size: $small-font-size !default;
$form-feedback-valid-color: theme-color("success") !default;
$form-feedback-invalid-color: theme-color("danger") !default;

//======
//
//  input-group
//
//======
$input-group-addon-color: $input-color !default;
$input-group-addon-bg: $gray-200 !default;
$input-group-addon-border-color: $input-border-color !default;

//======
//
//  custom-form
//
//======
$custom-font-size: 1.5rem !default;
$custom-font-size-sm: 1rem !default;
$custom-font-size-lg: 2rem !default;

$custom-line-height: 2rem !default;
$custom-line-height-sm: 1.5rem !default;
$custom-line-height-lg: 2.5rem !default;

$custom-control-gutter: 2rem !default;
$custom-control-gutter-sm: 1.5rem !default;
$custom-control-gutter-lg: 3rem !default;

$custom-control-spacer-x: 1rem !default;

$custom-control-indicator-size: 2rem !default;
$custom-control-indicator-size-sm: 1.5rem !default;
$custom-control-indicator-size-lg: 3rem !default;

$custom-control-indicator-border-width: 3px;
$custom-control-indicator-border-width-sm: 2px;
$custom-control-indicator-border-width-lg: 4px;

$custom-control-indicator-border-color: $gray-200;
$custom-control-indicator-bg: $gray-300 !default;
$custom-control-indicator-bg-size: 50% 50% !default;
$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;

$custom-control-indicator-disabled-bg: $gray-200 !default;
$custom-control-label-disabled-color: $gray-600 !default;

$custom-control-indicator-checked-color: $el-active-color !default;
$custom-control-indicator-checked-bg: $el-active-bg !default;
$custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
$custom-control-indicator-checked-box-shadow: none !default;

$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $el-focus-box-shadow !default;

$custom-control-indicator-active-color: $el-active-color !default;
$custom-control-indicator-active-bg: lighten($el-active-bg, 35%) !default;
$custom-control-indicator-active-box-shadow: none !default;

$custom-checkbox-indicator-border-radius: $el-border-radius !default;
$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;

$custom-checkbox-indicator-indeterminate-bg: $el-active-bg !default;
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
$custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;

$custom-radio-indicator-border-radius: 50% !default;
$custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;

$custom-select-padding-y: .375rem !default;
$custom-select-padding-x: .75rem !default;
$custom-select-height: $input-height !default;
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
$custom-select-line-height: $el-line-height !default;
$custom-select-color: $input-color !default;
$custom-select-disabled-color: $gray-600 !default;
$custom-select-bg: $input-bg !default;
$custom-select-disabled-bg: $gray-200 !default;
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
$custom-select-indicator-color: $gray-800 !default;
$custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default;
$custom-select-border-width: $el-border-width !default;
$custom-select-border-color: $input-border-color !default;
$custom-select-border-radius: $el-border-radius !default;

$custom-select-focus-border-color: $input-focus-border-color !default;
$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;

$custom-select-font-size-sm: 75% !default;
$custom-select-height-sm: $input-height-sm !default;

$custom-select-font-size-lg: 125% !default;
$custom-select-height-lg: $input-height-lg !default;

$custom-range-track-width: 100% !default;
$custom-range-track-height: 1rem !default;
$custom-range-track-height-sm: 0.5rem !default;
$custom-range-track-height-lg: 1.5rem !default;

$custom-range-track-cursor: pointer !default;
$custom-range-track-bg: $gray-200 !default;
$custom-range-track-border-radius: 1rem !default;
$custom-range-track-box-shadow: 0 0.15rem 0.15rem #def3f8, inset 0 .125rem .125rem #0d1112 !default; //轨道内置阴影效果

$custom-range-thumb-width: 2rem !default;
$custom-range-thumb-width-sm: 1rem !default;
$custom-range-thumb-width-lg: 3rem !default;

$custom-range-thumb-height: $custom-range-thumb-width !default;
$custom-range-thumb-height-sm: $custom-range-thumb-width-sm !default;
$custom-range-thumb-height-lg: $custom-range-thumb-width-lg !default;

$custom-range-thumb-bg: $white !default;
$custom-range-thumb-border: solid 0.125em rgba(205, 224, 230, 0.5) !default;
$custom-range-thumb-border-radius: 50% !default;
$custom-range-thumb-box-shadow: 0 .125em .125em #3b4547 !default; //添加底部阴影
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $el-focus-box-shadow !default;
$custom-range-thumb-active-bg: lighten($el-active-bg, 35%) !default;

$custom-file-height: $input-height !default;
$custom-file-height-inner: $input-height-inner !default;
$custom-file-focus-border-color: $input-focus-border-color !default;
$custom-file-focus-box-shadow: $el-focus-box-shadow !default;

$custom-file-padding-y: $el-padding-y !default;
$custom-file-padding-x: $el-padding-x !default;
$custom-file-line-height: $el-line-height !default;
$custom-file-color: $input-color !default;
$custom-file-bg: $input-bg !default;
$custom-file-border-width: $el-border-width !default;
$custom-file-border-color: $input-border-color !default;
$custom-file-border-radius: $input-border-radius !default;
$custom-file-box-shadow: $input-box-shadow !default;
$custom-file-button-color: $custom-file-color !default;
$custom-file-button-bg: $input-group-addon-bg !default;
$custom-file-text: (
  en: "Browse"
) !default;

//======
//
// Image thumbnails
//
//======
$thumbnail-padding: .25rem !default;
$thumbnail-bg: $body-bg !default;
$thumbnail-border-width: $el-border-width !default;
$thumbnail-border-color: $gray-300 !default;
$thumbnail-border-radius: $el-border-radius !default;
$thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default;

//======
//
// nav
//
//======
$nav-link-padding-y: .5rem !default;
$nav-link-padding-x: 1rem !default;
$nav-link-disabled-color: $gray-600 !default;

$nav-tabs-border-color: $gray-300 !default;
$nav-tabs-border-width: $el-border-width !default;
$nav-tabs-border-radius: $el-border-radius !default;
$nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
$nav-tabs-link-active-color: $gray-700 !default;
$nav-tabs-link-active-bg: $body-bg !default;
$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;

$nav-pills-border-radius: $el-border-radius !default;
$nav-pills-link-active-color: $el-active-color !default;
$nav-pills-link-active-bg: $el-active-bg !default;

$nav-divider-color: $gray-200 !default;
$nav-divider-margin-y: ($spacer / 2) !default;

//======
//
// navbar
//
//======
$navbar-padding-y: ($spacer / 2) !default;
$navbar-padding-x: $spacer !default;

$navbar-nav-link-padding-x: .5rem !default;

$navbar-brand-font-size: $font-size-lg !default;
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
$nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;

$navbar-toggler-padding-y: .25rem !default;
$navbar-toggler-padding-x: .75rem !default;
$navbar-toggler-font-size: $font-size-lg !default;
$navbar-toggler-border-radius: $btn-border-radius !default;

$navbar-dark-color: rgba($white, .5) !default;
$navbar-dark-hover-color: rgba($white, .75) !default;
$navbar-dark-active-color: $white !default;
$navbar-dark-disabled-color: rgba($white, .25) !default;
$navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
$navbar-dark-toggler-border-color: rgba($white, .1) !default;

$navbar-light-color: rgba($black, .5) !default;
$navbar-light-hover-color: rgba($black, .7) !default;
$navbar-light-active-color: rgba($black, .9) !default;
$navbar-light-disabled-color: rgba($black, .3) !default;
$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
$navbar-light-toggler-border-color: rgba($black, .1) !default;

//======
//
// Jumbotron
//
//======
$jumbotron-padding: 2rem !default;
$jumbotron-bg: $gray-200 !default;

//======
//
// Pagination
//
//======
$pagination-padding-y: .5rem !default;
$pagination-padding-x: .75rem !default;
$pagination-padding-y-sm: .25rem !default;
$pagination-padding-x-sm: .5rem !default;
$pagination-padding-y-lg: .75rem !default;
$pagination-padding-x-lg: 1.5rem !default;
$pagination-line-height: 1.25 !default;

$pagination-color: $link-color !default;
$pagination-bg: $white !default;
$pagination-border-width: $el-border-width !default;
$pagination-border-color: $gray-300 !default;

$pagination-focus-box-shadow: $el-focus-box-shadow !default;
$pagination-focus-outline: 0 !default;

$pagination-hover-color: $link-hover-color !default;
$pagination-hover-bg: $gray-200 !default;
$pagination-hover-border-color: $gray-300 !default;

$pagination-active-color: $el-active-color !default;
$pagination-active-bg: $el-active-bg !default;
$pagination-active-border-color: $pagination-active-bg !default;

$pagination-disabled-color: $gray-600 !default;
$pagination-disabled-bg: $white !default;
$pagination-disabled-border-color: $gray-300 !default;

//======
//
// Progress bars
//
//======
$progress-height: 1.5rem !default;
$progress-height-sm: 1rem !default;
$progress-height-lg: 2rem !default;

$progress-font-size: ($font-size-base * .75) !default;
$progress-bg: $gray-200 !default;
$progress-border-radius: $el-border-radius !default;
$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
$progress-bar-color: $white !default;
$progress-bar-bg: theme-color("primary") !default;
$progress-bar-animation-timing: 1s linear infinite !default;
$progress-bar-transition: width .6s ease !default;

//======
//
// table
//
//======
$table-cell-padding: .75rem !default;
$table-cell-padding-sm: .3rem !default;
$table-cell-padding-lg: 1.2rem !default;

$table-bg: transparent !default;
$table-accent-bg: rgba($black, .05) !default;
$table-hover-bg: rgba($black, .075) !default;
$table-active-bg: rgba($black, .095) !default;

//active 暗化背景色的比率
$table-active-ratio: 7%;
// border 颜色 暗化比率
$table-border-ratio: 10%;

$table-border-width: $el-border-width !default;
$table-border-color: $gray-300 !default;

$table-head-bg: $gray-200 !default;
$table-head-color: $gray-700 !default;

$table-dark-bg: $gray-900 !default;
$table-dark-accent-bg: rgba($white, .05) !default;
$table-dark-hover-bg: rgba($white, .075) !default;
$table-dark-border-color: lighten($gray-900, 7.5%) !default;
$table-dark-color: $body-bg !default;

$table-striped-order: odd !default;

$table-caption-color: $text-muted !default;

//======
//
// hr
//
//======
$hr-margin-y: $spacer !default;
$hr-border-color: rgba($black, .1) !default;
$hr-border-width: $el-border-width !default;

//======
//
// mark
//
//======
$mark-padding: .2em !default;
$mark-bg: #fcf8e3 !default;